Component org.nuxeo.ecm.platform.web.common.exceptionhandling.service.ExceptionHandlingContrib
In bundle org.nuxeo.ecm.platform.web.common
Resolution Order
592
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime
framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.
Contributions
- org.nuxeo.ecm.platform.web.common.exceptionhandling.service.ExceptionHandlingContrib--errorhandlers
- org.nuxeo.ecm.platform.web.common.exceptionhandling.service.ExceptionHandlingContrib--requestdump
- org.nuxeo.ecm.platform.web.common.exceptionhandling.service.ExceptionHandlingContrib--exceptionhandler
XML Source
<?xml version="1.0"?>
<component
name="org.nuxeo.ecm.platform.web.common.exceptionhandling.service.ExceptionHandlingContrib">
<extension
target="org.nuxeo.ecm.platform.web.common.exceptionhandling.service.ExceptionHandlingService"
point="errorhandlers">
<errorHandlers bundle="messages" loggerName="nuxeo-error-log"
defaultpage="/nuxeo_error.jsp">
<handlers>
<handler error=".*DocumentNotFoundException" code="404"
message="Error.Document.Not.Found" />
<handler error=".*SecurityException" code="403"
message="Error.Insuffisant.Rights" page="/nuxeo_error_security.jsp" />
</handlers>
</errorHandlers>
</extension>
<extension
target="org.nuxeo.ecm.platform.web.common.exceptionhandling.service.ExceptionHandlingService"
point="requestdump">
<requestdump
class="org.nuxeo.ecm.platform.web.common.exceptionhandling.service.DefaultRequestDumper">
<!-- you can add names of attributes you don't want to see listed in the request dump.
<notListed>
<attribute>javax.servlet.forward.request_uri</attribute>
</notListed>
-->
</requestdump>
</extension>
<extension
target="org.nuxeo.ecm.platform.web.common.exceptionhandling.service.ExceptionHandlingService"
point="exceptionhandler">
<exceptionHandler class="org.nuxeo.ecm.platform.web.common.exceptionhandling.DefaultNuxeoExceptionHandler" />
</extension>
</component>